﻿using Dropit.Extension.Core;
using SocialPack.Composer.Extensions;

namespace SocialPack.Composer.modules.SocialPack.Composer.Functions.Delicious
{
    public partial class Bookmark : BaseContentFunction
    {
        protected override void OnLoad(System.EventArgs e)
        {
            base.OnLoad(e);

            if (ContentFunctionData.IsValue("DisplayText"))
            {
                this.BookmarkControl.Text = ContentFunctionData.Property["DisplayText"].ToString();
            }
        }
    }
}